class ElinkController < ApplicationController
  def marcar(id)
    @elink = Elink.find(id)
    if @elink.nil? then
      render :nothing => true, :status => 404
    else
      @elink.marcado = 1
      @elink.update
      render :nothing => true, :status => 200
    end
  end
end
